import request from "@/utils/request";

// 查询土工试验报告列表
export function listTgTgsybgBsInfo(query) {
  return request({
    url: "/report_tg/tgTgsybgBsInfo/list",
    method: "get",
    params: query
  });
}

// 查询土工试验报告详细
export function getTgTgsybgBsInfo(excelId) {
  return request({
    url: "/report_tg/tgTgsybgBsInfo/" + excelId,
    method: "get"
  });
}

// 新增土工试验报告
export function addTgTgsybgBsInfo(data) {
  return request({
    url: "/report_tg/tgTgsybgBsInfo",
    method: "post",
    data: data
  });
}

// 修改土工试验报告
export function updateTgTgsybgBsInfo(data) {
  return request({
    url: "/report_tg/tgTgsybgBsInfo",
    method: "put",
    data: data
  });
}

// 删除土工试验报告
export function delTgTgsybgBsInfo(excelId) {
  return request({
    url: "/report_tg/tgTgsybgBsInfo/" + excelId,
    method: "delete"
  });
}
// 获取土工试验报告-检测结论
export function queryJcjl(data) {
  return request({
    url: "/report_tg/tgTgsybgBsInfo/jcjl",
    method: "put",
    data: data
  });
}
